{# The content beside a sub-menu: the current section's title and its partial, ``/_
.html``. A ``live`` page's Overview is re-sent over SSE as ``-overview``. #} {% from "components/macros/layout.html" import page_header %} {% set component = item.component %} {# A page whose numbers are live says ``header_message: None`` so the header, rendered once, cannot show a count the stream has moved past. #} {% set message = header_message if header_message is defined else component.message %} {# A section may say what it is for (``section_subtitle``) and put its own verbs in the header (``/_
_actions.html``). #} {% set subtitle = section_subtitle if section_subtitle is defined else (message if current == "overview" else none) %} {% call page_header(page.labels[current], subtitle) %}{% include "pages/overseer/" ~ page.folder ~ "/_" ~ current|replace("-", "_") ~ "_actions.html" ignore missing %}{% endcall %} {% set partial = "pages/overseer/" ~ page.folder ~ "/_" ~ current|replace("-", "_") ~ ".html" %} {% if page.live and current == "overview" %}
{% include partial %}
{% else %} {% include partial %} {% endif %}